import { NgModule } from '@angular/core';
import { RouterModule, Routes } from '@angular/router';
import { AuthComponent } from './auth.component';
import {DeptlistComponent} from "./components/deptlist/deptlist.component";
import {RolegrouplistComponent} from "./components/rolegrouplist/rolegrouplist.component";

const routes: Routes = [{ path: '', component: AuthComponent },
  {path:'deptlist',component:DeptlistComponent},
  {path:'rolegourplist',component:RolegrouplistComponent}
];

@NgModule({
  imports: [RouterModule.forChild(routes)],
  exports: [RouterModule]
})
export class AuthRoutingModule { }
